
package com.tuanzi.loan.business.service.statistics;

import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.statistics.ActivityParticipateStatSearchRequest;
import com.tuanzi.loan.vo.response.statistics.ActivityParticipateStatSearchResponse;
import com.tuanzi.server.loan_base.model.bean.common.CommAdvertise;
import com.tuanzi.server.loan_base.model.bean.common.CommPlatform;
import com.tuanzi.server.loan_base.model.bean.common.CommUserType;
import com.tuanzi.server.loan_base.model.db.CommProductChannel;
import com.tuanzi.server.loan_base.model.db.CommProductPrdid;
import com.tuanzi.server.loan_base.model.db.LoanProductInfo;
import org.primefaces.model.TreeNode;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 活动参与统计 ServiceInterface
 * @author JinRuiyang 2018/1/26 10:59:12
 */
public interface ActivityParticipateStatService {
    /**
     * ActivityParticipateStat查询
     * @param pageSearcher 请求信息
     * @return 响应列表
     */
    Page<ActivityParticipateStatSearchResponse> list(PageSearcher<ActivityParticipateStatSearchRequest> pageSearcher);

    void cleanCache();
    
    TreeNode getProductTree();

    List<CommProductPrdid> getProduct();

    List<CommProductChannel> getChannel();

    List<CommPlatform> getPlatform();

    List<CommUserType> getUserType();

    List<CommAdvertise> getAD();

    List<LoanProductInfo> getActivity();
}
